﻿@{
    Layout = "~/Views/Shared/_Main.cshtml";
}
<div class="container">
    <div class="row">
        <div class="span9">
            <!-- navagation -->
            <ul class="breadcrumb">
                <li><a href="/">首页</a> <span class="divider">/</span></li>
                <li><a href="/Account/Login">用户登录</a> <span class="divider">/</span></li>
                <li class="active">找回密码</li>
            </ul>
            <form id="resetform" action="/account/forgotpassword" method="post" class="form-horizontal">
            <input type="hidden" name="token" />
            <fieldset>
                <legend>找回密码</legend>
                <div class="row-fluid">
                    <div class="control-group row-fluid">
                        @if (ViewBag.Error == null)
                        { 
                            <div class="span6 alert span offset2" style="display: none;" id="errormsg">
                            </div>
                        }
                        else
                        { 
                            <div class="span6 alert span offset2" id="errormsg">
                                @ViewBag.Error
                            </div> 
                        }
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="control-group row-fluid">
                        <label class="control-label label-short" for="iptAccont">
                            注册邮箱：</label>
                        <div class="controls controls-short">
                            <input type="text" class="span10" id="inputIcon" type="text" name="UserName" av="{x:'$email',t:'errormsg',m:'注册邮箱格式错误', a:'show'}"
                                placeholder="example@gmail.com" />
                        </div>
                    </div>
                </div>
                <div class="control-group row-fluid">
                                <label class="control-label label-short" for="iptCheckCode">
                                    验证码</label>
                                <div class="controls controls-short">
                                    <div class="span5">
                                        <input type="text" class="span12" name="validCode" av="{x:':\\w{4}',t:'errormsg',m:'验证码输入有误',a: 'show'}" />
                                    </div>
                                    <div id="codeimg" class="span3">
                                    </div>
                                </div>
                            </div>
                
                <div class="row-fluid">
                    <div class="span3 offset2" style="padding-top: 10px;">
                        <input type="submit" class="btn btn-primary btn-large" value="找回密码" />
                    </div>
                </div>
            </fieldset>
            </form>
        </div>
        <div class="span3">
            <div class="mini-layout" style="height: 500px;">
                <div class="hspace15">
                </div>
                <div style="text-align: center;">
                    <a class="btn btn-primary btn-large" style="width: 73%">我要投稿</a>
                </div>
                <div class="hspace10">
                </div>
                <div style="text-align: center;">
                    <a class="btn btn-large btn-danger" style="width: 73%">我要审稿</a>
                </div>
                <div class="hspace15">
                </div>
                <div style="text-align: center;">
                    <a class="btn btn-large" style="width: 73%">成为编委</a>
                </div>
                <div class="hspace15">
                </div>
                <div class="hspace15">
                </div>
                <div style="text-align: center;">
                    <div class="well">
                        <code>本刊下载量：<a>876</a></code>
                        <div class="hspace10">
                        </div>
                        <code>本刊访问量：<a>2234</a></code>
                    </div>
                </div>
                <div class="friendlinktop">
                    相关期刊
                    <hr class="flline" />
                </div>
                <div class="flinks">
                    <ul>
                        <li><a href="#">教育进展</a></li>
                        <li><a href="#">留学与移</a></li>
                        <li><a href="#">职业教育</a></li>
                        <li><a href="#">哲学进展</a></li>
                        <li><a href="#">社会科学前沿</a></li>
                        <li><a href="#">艺术研究快报</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
@section tail{
    <script type="text/javascript">
        var validation = new plug.BindValidCode();
        $(function () {
            validation.BindValidator();
            new plug.AValidator().BuildValidate('resetform');
        });
        function Refalsh(sender) {
            validation.Refalsh(sender);
        }
    </script>
}
